package com.smartleanx.module.hrm.api.employee.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 岗位 Response DTO
 *
 * @author 芋道源码
 */
@Schema(description = "RPC 服务 - 员工基本信息 Response DTO")
@Data
public class EmployeeInfoRespDto {

    @Schema(description = "员工id", requiredMode = Schema.RequiredMode.REQUIRED, example = "7386")
    private Long id;

    @Schema(description = "员工姓名")
    private String name;

    @Schema(description = "聘用形式")
    private Integer employmentForm;

    @Schema(description = "员工状态")
    private Integer state;

    @Schema(description = "计划转正日期")
    private LocalDateTime planRegularizationTime;

    @Schema(description = "转正日期")
    private LocalDateTime regularizationTime;

    @Schema(description = "入职时间")
    private LocalDateTime entryTime;

    @Schema(description = "岗级id")
    private Long postLevelId;

    @Schema(description = "部门ID")
    private Long deptId;

    @Schema(description = "岗位id")
    private Long postId;

    @Schema(description = "司龄（月）")
    private Long companyAge;

    @Schema(description = "用户头像", example = "https://www.google.com/xxx.png")
    private String avatar;

}
